package com.sgb.kjwl.view.ui.adapter.pick;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.swgk.core.util.PickSelectEntity;
import com.sgb.kjwl.model.entity.self.CarriageSelectEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class SubSetAdapter extends BaseRecycleAdapter<CarriageSelectEntity> {
    public SubSetAdapter(Context context, List<CarriageSelectEntity> datas) {
        super(context, R.layout.item_sub_select, datas);

    }

    @Override
    public void convert(ItemViewHolder holder, final CarriageSelectEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }

}
